import { requestClient } from '#/api/request';
import { ServicePrefixEnum } from '#/enums/commonEnum';

const MODULAR = 'defServer';
const ServicePrefix = ServicePrefixEnum.SYSTEM;

export namespace DefServerApi {
  /**
   * 根据id查询单条数据
   */
  export async function get() {
    return requestClient.get<any>(`${ServicePrefix}/${MODULAR}`, {
      timeout: 2 * 60 * 1000,
    });
  }
}
